﻿using Ewell.Interface.Common.Model.Constant;
using Ewell.Interface.Common.Model.GateWay.Dto.InsuranceManager;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Ewell.Interface.Common.Model.GateWay.GateWayUriInfo
{
    /// <summary>
    /// 对账接口
    /// </summary>
    public class ReconciliationDubboServe : GateWayUri
    {
        public override string url => "dubbo/cc.ewell.his.insurance.management.dubbo.external.ReconciliationDubboServe";

        public GateWayMethod saveReconciliationRecord => new SaveReconciliationRecord(url);
    }

    /// <summary>
    /// 1-100013-01 保存对账记录
    /// </summary>
    public class SaveReconciliationRecord : GateWayMethod
    {
        public SaveReconciliationRecord(string baseUrl) : base(baseUrl)
        {
        }
        public override string methodName => "saveReconciliationRecord";
        public override string paramClass => "cc.ewell.his.insurance.management.upon.request.SaveReconciliationRecordReq";

        public override DubboParamType paramType => DubboParamType.defaultParam;

        public override Type requestParamType => typeof(SaveReconciliationRecordReq);

        public override Type responseParamType => typeof(object);
    }
}
